﻿<UserControl x:Class="TimeSheet.UI.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:my="clr-namespace:Dev.Silverlight.Controls;assembly=Dev.Silverlight"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
    mc:Ignorable="d" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" d:DesignHeight="236" d:DesignWidth="711" xmlns:my1="clr-namespace:TimeSheet.UI.Views">

    <Grid x:Name="LayoutRoot" Background="White">
        <my:ToolbarGroup Height="37" VerticalAlignment="Top">
            <StackPanel Orientation="Horizontal">
                <my:ToolbarButton Content="Configuration" Margin="2" x:Name="btnConfiguration" Click="btnConfiguration_Click" />
                
                <!--<my:ToolbarDropDownButton x:Name="btnHello">                    
                    <my:ToolbarDropDownButton.SelectionContainer>
                        <my:SelectionContainer>
                            <StackPanel Orientation="Vertical" Background="WhiteSmoke" Width="50">
                                <my:ToolbarButton x:Name="btnUn" HorizontalContentAlignment="Left" Content="Un" />
                                <my:ToolbarButton>Deux</my:ToolbarButton>
                            </StackPanel>
                        </my:SelectionContainer>
                    </my:ToolbarDropDownButton.SelectionContainer>
                    
                    <Canvas HorizontalAlignment="Center" Width="40" Height="18">
                        <TextBlock>Hello</TextBlock>
                    </Canvas>

                </my:ToolbarDropDownButton>
                
                <Popup Name="popupCoucou">
                    <TextBlock>Coucou</TextBlock>
                </Popup>
                
                <my:ToolbarToggleButton Content="Ici" />-->
            </StackPanel>
            
            
        </my:ToolbarGroup>
        <sdk:Calendar Height="169" HorizontalAlignment="Left" Margin="7,43,0,0" Name="calendar1" VerticalAlignment="Top" Width="185" SelectedDatesChanged="calendar1_SelectedDatesChanged" />
        <my1:WeekControl Margin="198,43,7,12" x:Name="weekControl1" />
    </Grid>
</UserControl>
